/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model.integration;

import java.io.Serializable;
import java.util.Date;
import model.dto.DateListDTO;

/**
 *
 * @author Ahmed Salem
 */
public class DateList implements Serializable,DateListDTO{
    
    /**
     *
     */
    public DateList(){}
            
    private  Date fromDate;
    private  Date toDate;
    
    /**
     *
     * @param from
     * @param to
     */
    public DateList(Date from ,Date to ){
        this.fromDate = from;
        this.toDate = to;
    }
    
    /**
     *
     * @param from
     */
    @Override
    public void setFromDate(Date from){
        this.fromDate = from;
    }
   
    /**
     *
     * @param to
     */
    @Override
    public void setToDate(Date to){
        this.toDate = to;
    }
    
    /**
     *
     * @return
     */
    @Override
    public Date getFromDate(){
        return this.fromDate;
    }
    
    /**
     *
     * @return
     */
    @Override
    public  Date getToDate(){
        return this.toDate;
    }
    
}
